QT       += core gui
QT       += network
QT       += sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    alipaydialog.cpp \
    calendardialog.cpp \
    choosecitydialog.cpp \
    customcontrol.cpp \
    enrollwindow.cpp \
    firstwindow.cpp \
    flightinfo.cpp \
    flightscheckwindow.cpp \
    interfacemanager.cpp \
    logwindow.cpp \
    main.cpp \
    mainwindow.cpp \
    models.cpp \
    order.cpp \
    ordersystem.cpp \
    paydialog.cpp \
    paywindow.cpp \
    system.cpp \
    ticketframe.cpp \
    userordertestwindow.cpp\
    myframe.cpp \
    wechatpaydialog.cpp

HEADERS += \
    User.h \
    alipaydialog.h \
    calendardialog.h \
    choosecitydialog.h \
    customcontrol.h \
    enrollwindow.h \
    firstwindow.h \
    flightinfo.h \
    flightscheckwindow.h \
    interfacemanager.h \
    logwindow.h \
    mainwindow.h \
    models.h \
    order.h \
    ordersystem.h \
    paydialog.h \
    paywindow.h \
    system.h \
    ticketframe.h \
    userordertestwindow.h \
    myframe.h \
    wechatpaydialog.h

FORMS += \
    alipaydialog.ui \
    calendardialog.ui \
    choosecitydialog.ui \
    enrollwindow.ui \
    firstwindow.ui \
    flightscheckwindow.ui \
    logwindow.ui \
    mainwindow.ui \
    paydialog.ui \
    paywindow.ui \
    userordertestwindow.ui \
    wechatpaydialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    API.md \
    FirstMeeting.md \
    GlobalStyle.qss \
    README.md \
    REQUIRE.md \
    mysql数据库.md \
    sql.md

RESOURCES += \
    Resource.qrc \
    Resources.qrc
